﻿using UnityEngine;

namespace winS.Unity.Rendering
{
    /// <summary>
    /// 提供对渲染的管理
    /// </summary>
    public class Render
    {
        /// <summary>
        /// 每秒帧数
        /// </summary>
        public int fps { get => Application.targetFrameRate; set => Application.targetFrameRate = value; }

        /// <summary>
        /// 屏幕
        /// </summary>
        public Screen screen { get; private set; } = new Screen();
    }
}